package com.itgungnir.designpattern.observer.system;

import java.util.Observable;
import java.util.Observer;

public abstract class CustomObserver implements Observer, IDisplay {
	protected String name;

	@Override
	public void update(Observable subject, Object thing) {
		System.out.println(this.name + "收到了消息：" + thing.toString());
	}
}